package com.lxy.cxcyxmmsbackend.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author 刘新颖
 * @since 2024-01-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "QxglRole对象", description = "角色")
public class QxglRole implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色编号 R-")
    @TableId(value = "ROLE_BH", type = IdType.ID_WORKER)
    private String roleBh;

    @ApiModelProperty(value = "角色名")
    @TableField("ROLE_MC")
    private String roleMc;

    @ApiModelProperty(value = "角色描述")
    @TableField("ROLE_MS")
    private String roleMs;

    @ApiModelProperty(value = "角色更新时间")
    @TableField("ROLE_GXSJ")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date roleGxsj;

    @ApiModelProperty(value = "角色创建时间")
    @TableField("ROLE_CJSJ")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date roleCjsj;

    @ApiModelProperty(value = "角色等级")
    @TableField("ROLE_DJ")
    private String roleDj;


}
